package com.pty.demo.behaviour.mediator;

/**
 * @author pengty
 * @date 2020/3/14
 */
public abstract class AbstractColleague {

    private String name;

    protected HomeKitMediator homeKitMediator;

    public AbstractColleague(String name, HomeKitMediator homeKitMediator) {
        this.name = name;
        this.homeKitMediator = homeKitMediator;
    }

    public abstract void receive();

    public abstract void send();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
